package com.ruoyi.community.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

public class HeartActivityDetail extends BaseEntity {
    private Long activityid;

    private String activitytitle;

    private Long initiatorid;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createtime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endtime;

    private Integer point;

    private Integer statusflag;

    private Integer theme;

    private Integer communityid;

    private String content;

    private String initiatorName;

    private String initiatorAvatarUrl;

    private Long participatorId;

    private String participatorName;

    public HeartActivityDetail() {
    }

    public HeartActivityDetail(Long activityid, String activitytitle, Long initiatorid, Date createtime, Date endtime, Integer point, Integer statusflag, Integer theme, Integer communityid, String content, String initiatorName, String initiatorAvatarUrl, Long participatorId, String participatorName) {
        this.activityid = activityid;
        this.activitytitle = activitytitle;
        this.initiatorid = initiatorid;
        this.createtime = createtime;
        this.endtime = endtime;
        this.point = point;
        this.statusflag = statusflag;
        this.theme = theme;
        this.communityid = communityid;
        this.content = content;
        this.initiatorName = initiatorName;
        this.initiatorAvatarUrl = initiatorAvatarUrl;
        this.participatorId = participatorId;
        this.participatorName = participatorName;
    }

    public Long getActivityid() {
        return activityid;
    }

    public void setActivityid(Long activityid) {
        this.activityid = activityid;
    }

    public String getActivitytitle() {
        return activitytitle;
    }

    public void setActivitytitle(String activitytitle) {
        this.activitytitle = activitytitle == null ? null : activitytitle.trim();
    }

    public Long getInitiatorid() {
        return initiatorid;
    }

    public void setInitiatorid(Long initiatorid) {
        this.initiatorid = initiatorid;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getEndtime() {
        return endtime;
    }

    public void setEndtime(Date endtime) {
        this.endtime = endtime;
    }

    public Integer getPoint() {
        return point;
    }

    public void setPoint(Integer point) {
        this.point = point;
    }

    public Integer getStatusflag() {
        return statusflag;
    }

    public void setStatusflag(Integer statusflag) {
        this.statusflag = statusflag;
    }

    public Integer getTheme() {
        return theme;
    }

    public void setTheme(Integer theme) {
        this.theme = theme;
    }

    public Integer getCommunityid() {
        return communityid;
    }

    public void setCommunityid(Integer communityid) {
        this.communityid = communityid;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public String getInitiatorName() {
        return initiatorName;
    }

    public void setInitiatorName(String initiatorName) {
        this.initiatorName = initiatorName;
    }

    public String getInitiatorAvatarUrl() {
        return initiatorAvatarUrl;
    }

    public void setInitiatorAvatarUrl(String initiatorAvatarUrl) {
        this.initiatorAvatarUrl = initiatorAvatarUrl;
    }

    public Long getParticipatorId() {
        return participatorId;
    }

    public void setParticipatorId(Long participatorId) {
        this.participatorId = participatorId;
    }

    public String getParticipatorName() {
        return participatorName;
    }

    public void setParticipatorName(String participatorName) {
        this.participatorName = participatorName;
    }

    @Override
    public String toString() {
        return "HeartActivityDetail{" +
                "activityid=" + activityid +
                ", activitytitle='" + activitytitle + '\'' +
                ", initiatorid=" + initiatorid +
                ", createtime=" + createtime +
                ", endtime=" + endtime +
                ", point=" + point +
                ", statusflag=" + statusflag +
                ", theme=" + theme +
                ", communityid=" + communityid +
                ", content='" + content + '\'' +
                ", initiatorName='" + initiatorName + '\'' +
                ", initiatorAvatarUrl='" + initiatorAvatarUrl + '\'' +
                ", participatorId=" + participatorId +
                ", participatorName='" + participatorName + '\'' +
                '}';
    }
}